﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Promises</title>

    <!-- WinJS references -->
    <link href="//Microsoft.WinJS.1.0/css/ui-dark.css" rel="stylesheet" />
    <script src="//Microsoft.WinJS.1.0/js/base.js"></script>
    <script src="//Microsoft.WinJS.1.0/js/ui.js"></script>

    <!-- Promises references -->
    <link href="/css/default.css" rel="stylesheet" />
    <script src="/js/longrunning.js"></script>
    <script src="/js/default.js"></script>
</head>
<body>
    <div class="testsTemplate" data-win-control="WinJS.Binding.Template">
        <div style="height:150px;width:150px;background-color:#080">
            <p style="vertical-align:middle;text-align:center; height:100%;width:100%" data-win-bind="innerText: title"></p>
        </div>
    </div>
    <div class="tests" data-win-control="WinJS.UI.ListView" 
        data-win-options="{layout : {type: WinJS.UI.ListLayout},
                    selectionMode:'none', oniteminvoked: Demos.startTest,
                    itemTemplate:select('.testsTemplate')}">
    </div>
    <progress class="progress"></progress>
    <div class="results"></div>
</body>
</html>
